﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Core.WorkFlows.Design.Entities
{
    public class WorkFlowCategeory : FullAuditedEntity<Guid>, IMustHaveTenant, IPassivable
    {
        public const int MaxNameLength = 128;
        public int TenantId { get; set; }

        [StringLength(MaxNameLength)]
        [Required]
        public string Name { get; set; }

        public bool IsActive { get; set; }

        public int Order { get; set; }
    }
}
